@import "../../css/bass.css";
//@import "../../../css/normalize.css";
@import "//at.alicdn.com/t/font_2628658_em313ldpu87.css";
@import "//at.alicdn.com/t/font_2628658_avkowx9zqn.css";

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.nav-bar1 {
  min-width: 1205px;
  height: 140px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;

  padding-top: 30px;
  .content {
    //background-color: tomato;
    height: 100%;
    display: flex;
    flex-direction: column;
    .top {
      //background-color: darkcyan;
      flex: 1;
      display: flex;
      >.left {
        flex: 1;
        h1 {
          width: 193px;
          height: 65px;
          //background-color: cyan;
          a {
            width: 100%;
            height: 100%;
            display: block;
            //background-color: pink;
            //text-indent: -9999px;
            font-size: 0;
            background-image: url(../../components/image/img.png);
            background-size: contain;
            background-repeat: no-repeat;
          }
        }
      }
      >.center {

        flex: 2;
        display: flex;
        justify-content: flex-end;
        .search-bar {
          width: 400px;
          height: 40px;
          //background-color: cyan;
          //margin: 0 auto;
          border: 1px solid #999;
          border-radius: 20px;
          box-sizing: border-box;

          display: flex;

          .category {
            background-color: deeppink;
            flex: 1;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
            overflow: hidden;
            label {
              select {
                width: 100%;
                height: 100%;
                border: none;
                padding-left: 10px;
                font-size: 15px;
                color: #666;
                outline: none;
              }
            }
          }
          .keyword {
            background-color: pink;
            flex: 4;
            input {
              width: 100%;
              height: 100%;
              box-sizing: border-box;
              border: none;
              outline: none;
              padding-left: 10px;
            }
          }
          .search-btn {
            background-color: cyan;
            flex: 1;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
            overflow: hidden;
            input {
              width: 100%;
              height: 100%;
              border: none;
              outline: none;
              background-color: green;

              color: #fff;
              font-size: 14px;
            }
          }

        }

      }
      //>.right {
      //  background-color: greenyellow;
      //  flex: 1;
      //}
    }
    .bottom {
      height: 40px;
      display: flex;
      .left {
        flex: 1;
        //background-color: cyan;
        .menu-bar {
          width: 100%;
          height: 100%;
          //background-color: darkcyan;
          display: flex;
          li {
            //background-color: grey;
            //border: 1px solid red;
            padding: 0 20px;
            line-height: 30px;
            font-size: 18px;
            position: relative;
            a {
              color: #333;
              text-decoration: none;
            }
            &.active,
            &:hover {
              a {
                color: red;
              }
              //border-bottom: 5px solid red;
              &::after {
                content: "";
                display: block;
                width: 50%;
                height: 5px;
                background-color: red;
                //margin: 0 auto;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
              }
            }
          }
        }
      }
      .right {
        flex: 1;
        //background-color: purple;
        ul {
          height: 100%;
          display: flex;
          justify-content: flex-end;
          li {
            //background-color: cyan;
            padding: 0 20px;
            line-height: 40px;
            font-size: 16px;
            color: #666;
            position: relative;
            &:hover {
              .detail-pane {
                display: block;
              }
            }
            .detail-pane {
              width: 240px;
              height: 220px;
              background-color: #fff;
              position: absolute;
              padding-top: 10px;
              top: 50px;
              left: 50%;
              transform: translateX(-50%);
              border-radius: 10px;
              box-shadow: -1px 2px 5px 5px #ccc;
              display: none;
              text-align: center;
              .title {
                line-height: 26px;
                font-size: 14px;
                color: #333;
              }
              .intro {
                line-height: 24px;
                font-size: 12px;
                color: #666;
              }
              .qr_code {
                margin-top: 10px;
                width: 145px;
                height: 145px;
              }
              &::after {
                content: "";
                border: 10px solid transparent;
                border-bottom-color: #fff;
                position: absolute;
                top: -20px;
                left: 50%;
                transform: translateX(-50%);
                //box-shadow: -1px 2px 5px 5px #ccc;
              }
            }
          }
        }
      }
    }
  }
}

.box {
  width: 1200px;
  height: 400px;
  //background-color: orange;
  margin: auto;
  position: relative;
  overflow: hidden;

  ul {
    height: 100%;
    width: fit-content;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;

    li {
      width: 1200px;
      a{
        width: 100%;
        height: 100%;
        display: block;
        img{
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  .left,
  .right {
    width: 50px;
    height: 50px;
    //background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    line-height: 40px;
    position: absolute;
  }

  .left {
    border-radius: 0 20px 20px 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .right {
    border-radius: 20px 0 0 20px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .pointer {
    width: fit-content;
    height: 12px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    .s1 {
      width: 12px;
      height: 12px;
      margin-right: 4px;
      border: 1px solid rgba(0, 0, 0, 0.05);
      background: rgba(255, 255, 255, 0.4);
      display: inline-block;
      border-radius: 50%;
    }
    .s2 {
      background-color: #ffffff;
      width: 9px;
      height: 9px;
      position: relative;
      top: 2px;
      left: 0;
      border: 3px solid rgba(0, 0, 0, 0.1);
    }
  }

}
.nav-bar2 {
  min-width: 1200px;
  height: 240px;
  //background-color: blue;
  .content {
    height: 100%;
    //background-color: orange;
    display: flex;
    flex-direction: column;

    .top {
      //background-color: red;
      flex: 1;
      display: flex;
      align-items: center;

      .left {
        //background-color: fuchsia;
        flex: 1;
        font-size: 20px;
        color: #000;
        padding-left: 20px;
        //padding: 40px 0 20px 0;
      }

      .right {
        //background-color: palegreen;
        //flex: 1;
        width: 280px;
        height: 30px;
        border: 1px solid #acafb9;
        border-radius: 15px;
        box-sizing: border-box;
        display: flex;
        overflow: hidden;

        &:hover {
          border-color: tomato;
        }

      }

      .input {
        background-color: rosybrown;
        flex: 4;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;

        input {
          font-size: 12px;
          width: 100%;
          height: 100%;
          border: none;
          outline: none;
          box-sizing: border-box;
          padding-left: 15px;
        }

      }

      .search {
        background-color: peru;
        flex: 1;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;

        input {
          width: 100%;
          height: 100%;
          border: none;
          outline: none;
          box-sizing: border-box;
          font-size: 13px;
          color: #fff;

          &:hover {
            background-color: tomato;
          }
        }
      }

    }

    .bottom {
      //background-color: cyan;
      height: 150px;
      display: flex;
      flex-direction: column;


      .top2 {
        flex: 1;
        display: flex;
        align-items: center;
        font-size: 14px;

        .left {
          //background-color: navajowhite;
          flex: 1;
          color: red;
          padding-left: 20px;

        }

        .right {
          //background-color: lavender;
          flex: 1;
          color: rgb(0, 0, 0);
          text-align: right;
          padding-right: 20px;

        }
      }

      .lower {
        //background-color: firebrick;
        flex: 1;

        .course {
          width: 100%;
          height: 100%;
          //background-color: lawngreen;
          display: flex;

          li {
            //border: 1px solid red;
            //background-color: yellow;
            padding: 0 20px;
            line-height: 75px;
            font-size: 14px;

            a {
              color: rgba(0, 0, 0, .65);
              text-decoration: none;
            }

            &.active,
            &:hover {
              a {
                color: red;
              }
            }

          }
        }
      }
    }
  }

}
.curriculum {
  //width: 1200px;
  //width: 100%;
  //background-color: blue;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;

  .item {
    width: ~"calc((100% - 40px) / 5)";
    height: 210px;
    //background-color: tomato;
    margin-top: 10px;
    position: relative;
    //display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #00000073;

    &:not(:nth-child(5n)) {
      margin-right: 10px;
    }

    img {
      width: 100%;
      height: 130px;
      display: block;
      //display: flex;
    }

    .content {
      width: 100%;
      height: 110px;
      background-color: #f9fafb;
      position: absolute;
      left: 0;
      bottom: -30px;
      transition: all 100ms linear;
      //padding-top: 10px;
      box-sizing: border-box;
      //padding-left: 5px;
      padding: 10px 5px 0 5px;
      display: flex;
      flex-direction: column;


      &:hover {
        bottom: 0;
        background-color: #ffffff;
        .one {
          color: red;
        }
      }

      p {
        font-size: 14px;
        color: #000000A6;
      }


      span {
        font-size: 12px;
      }

      .intro {
        display: flex;
        justify-content: space-between;
        flex: 1;
        padding-top: 5px;
      }

      .bottom {
        height: 30px;
        //background-color: green;

      }
    }
  }
}
.subscript{
  height: 200px;
  .content {
    height: 90%;
    background-color: white;
    display: flex;
    .item {
      flex: 1;
      position: relative;
      &:not(:first-child) {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      &:not(:last-child):after {
        content: "";
        width: 1px;
        height: 80%;
        background-color: darkgray;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
      }
      .logo {
        width: 275px;
        height: 55px;
        opacity: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        margin-top: 40PX;
        margin-left: 50px;
      }
    }

    .title{
      display: block;
      color:#333333;
      text-decoration: none;
      margin-left: 15px;
      font-size: 18px;
      margin-top: 10px;
    }
    .subtitle{
      font-size: 18px;
      display: block;
      color:#333333;
      text-decoration: none;
      margin-left: 15px;
    }
    .ewm {
      width: 130px;
      height: 130px;
      opacity: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      margin-top: 20PX;
      margin-left: 80px;

    }
    p{
      font-size: 15px;
      margin-left: 90px;
      color: #333333;
    }
  }
  .mask {
    width: 100px;
    height: 100px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;

    //display: none;
    opacity: 0;
    transition: all 500ms linear;
    &.show {
      //display: block;
      opacity: 1;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
    }
    .pane {
      width: 300px;
      height: 300px;
      background-color: white;
      margin: 150px auto;
      padding: 15px;
      position: relative;
      img {
        width: 100%;
        height: 100%;
      }
      .close {
        width: 20px;
        height: 20px;
        font-size: 26px;
        position: absolute;
        color: #fff;
        top: 0;
        right: 0;
      }
    }
  }
}